Skip to content

feat: change logger init to use getLogger. This allows clients to override log level externally from client code#38

Merged
acroca merged 1 commit intodapr:mainfrom
CasperGN:feat/dynamic-log-level
Dec 15, 2025
Merged

feat: change logger init to use getLogger. This allows clients to override log level externally from client code#38
acroca merged 1 commit intodapr:mainfrom
CasperGN:feat/dynamic-log-level

Conversation

@CasperGN
Copy link

The current logging implementation does not allow for client code overriding the logger. It is better to use .getLogger() and then not explicitly set the log level (defaults to INFO if not set anyway).

This PR changes that so a client can set the LogLevel desired.

…rride log level externally from client code

Signed-off-by: Casper Nielsen <casper@diagrid.io>
@CasperGN CasperGN requested a review from a team as a code owner December 15, 2025 14:59
@acroca acroca merged commit 226b036 into dapr:main Dec 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants